<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        span {
            line-height: 100px;
        }
    </style>
</head>
<body>
    <!-- 行内标垂直方向内外边距解决 -->
    <span>span1</span> <span>span2</span>
</body>
</html>